import time
from selenium import webdriver
from selenium.webdriver.common.by import By

driver = webdriver.Chrome()
driver.get('https://ecshop.test2.shopex123.com/')

kw = driver.find_element(By.ID, 'keyword')
kw.send_keys('资生堂')

time.sleep(2)
su = driver.find_element(By.XPATH, '//*[@id="searchForm"]/table/tbody/tr/td[2]/input')
su.click()

time.sleep(2)
driver.quit()